package com.lzy.libreoffice.autoconfiguration;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = LibreofficeProperties.PREFIX)
public class LibreofficeProperties {
    public static final String PREFIX = "libreoffice";
    /**
     * 是否启动 true/false
     */
    private boolean enabled;

    /**
     * 端口多个,隔开2002,2003
     */
    private String port;

    /**
     * libreoffice 路径
     */
    private String path;

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
}
